package com.feri.shop.service.intf;

import com.feri.shop.dto.OrderCartDto;
import com.feri.shop.dto.OrderGoodsDto;
import com.feri.shop.vo.R;

public interface OrderService {
    //下单-购物车
    R save(OrderCartDto dto);
    //下单-商详
    R save(OrderGoodsDto dto);
    //查询订单列表
    R queryMy(long uid,int type);
    //查询订单详情
    R queryDetail(long oid);
    //更改订单状态
    R change(long oid,int flag);
    //订单取消
    R cancel(long oid);
}
